package com.ruoyi.school.problem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目对象 school_problem
 * 
 * @author qiang
 * @date 2022-07-10
 */
public class Problem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据库编号 */
    @Excel(name = "数据库编号")
    private Long id;

    /** 试题类型 */
    @Excel(name = "试题类型")
    private Long type;

    /** 试题内容 */
    @Excel(name = "试题内容")
    private String content;

    /** 普通文本还是markdown */
    @Excel(name = "普通文本还是markdown")
    private Long contentType;

    /** 关联章节编号 */
    @Excel(name = "关联章节编号")
    private Long cId;

    /** 关联知识点编号 */
    @Excel(name = "关联知识点编号")
    private Long kId;

    /** 分数1 */
    @Excel(name = "分数1")
    private Long score1;

    /** 分数2 */
    @Excel(name = "分数2")
    private Long score2;

    /** 分数3 */
    @Excel(name = "分数3")
    private Long score3;

    /** 分数4 */
    @Excel(name = "分数4")
    private Long score4;

    /** 分数5 */
    @Excel(name = "分数5")
    private Long score5;

    /** 分数6 */
    @Excel(name = "分数6")
    private Long score6;

    /** 分数7 */
    @Excel(name = "分数7")
    private Long score7;

    /** 分数8 */
    @Excel(name = "分数8")
    private Long score8;

    /** 分数9 */
    @Excel(name = "分数9")
    private Long score9;

    /** 分数10 */
    @Excel(name = "分数10")
    private Long score10;

    /** 选项1A */
    @Excel(name = "选项1A")
    private String option1;

    /** 选项2B */
    @Excel(name = "选项2B")
    private String option2;

    /** 选项3C */
    @Excel(name = "选项3C")
    private String option3;

    /** 选项4D */
    @Excel(name = "选项4D")
    private String option4;

    /** 选项5E */
    @Excel(name = "选项5E")
    private String option5;

    /** 选项6F */
    @Excel(name = "选项6F")
    private String option6;

    /** 选项7G */
    @Excel(name = "选项7G")
    private String option7;

    /** 选项8H */
    @Excel(name = "选项8H")
    private String option8;

    /** 选项9I */
    @Excel(name = "选项9I")
    private String option9;

    /** 选项10J */
    @Excel(name = "选项10J")
    private String option10;

    /** 答案1 */
    @Excel(name = "答案1")
    private String answer1;

    /** 答案2 */
    @Excel(name = "答案2")
    private String answer2;

    /** 答案3 */
    @Excel(name = "答案3")
    private String answer3;

    /** 答案4 */
    @Excel(name = "答案4")
    private String answer4;

    /** 答案5 */
    @Excel(name = "答案5")
    private String answer5;

    /** 答案6 */
    @Excel(name = "答案6")
    private String answer6;

    /** 答案7 */
    @Excel(name = "答案7")
    private String answer7;

    /** 答案8 */
    @Excel(name = "答案8")
    private String answer8;

    /** 答案9 */
    @Excel(name = "答案9")
    private String answer9;

    /** 答案10 */
    @Excel(name = "答案10")
    private String answer10;

    /** 上传地址1 */
    @Excel(name = "上传地址1")
    private String upload1;

    /** 上传地址2 */
    @Excel(name = "上传地址2")
    private String upload2;

    /** 上传地址3 */
    @Excel(name = "上传地址3")
    private String upload3;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setContentType(Long contentType) 
    {
        this.contentType = contentType;
    }

    public Long getContentType() 
    {
        return contentType;
    }
    public void setcId(Long cId) 
    {
        this.cId = cId;
    }

    public Long getcId() 
    {
        return cId;
    }
    public void setkId(Long kId) 
    {
        this.kId = kId;
    }

    public Long getkId() 
    {
        return kId;
    }
    public void setScore1(Long score1) 
    {
        this.score1 = score1;
    }

    public Long getScore1() 
    {
        return score1;
    }
    public void setScore2(Long score2) 
    {
        this.score2 = score2;
    }

    public Long getScore2() 
    {
        return score2;
    }
    public void setScore3(Long score3) 
    {
        this.score3 = score3;
    }

    public Long getScore3() 
    {
        return score3;
    }
    public void setScore4(Long score4) 
    {
        this.score4 = score4;
    }

    public Long getScore4() 
    {
        return score4;
    }
    public void setScore5(Long score5) 
    {
        this.score5 = score5;
    }

    public Long getScore5() 
    {
        return score5;
    }
    public void setScore6(Long score6) 
    {
        this.score6 = score6;
    }

    public Long getScore6() 
    {
        return score6;
    }
    public void setScore7(Long score7) 
    {
        this.score7 = score7;
    }

    public Long getScore7() 
    {
        return score7;
    }
    public void setScore8(Long score8) 
    {
        this.score8 = score8;
    }

    public Long getScore8() 
    {
        return score8;
    }
    public void setScore9(Long score9) 
    {
        this.score9 = score9;
    }

    public Long getScore9() 
    {
        return score9;
    }
    public void setScore10(Long score10) 
    {
        this.score10 = score10;
    }

    public Long getScore10() 
    {
        return score10;
    }
    public void setOption1(String option1) 
    {
        this.option1 = option1;
    }

    public String getOption1() 
    {
        return option1;
    }
    public void setOption2(String option2) 
    {
        this.option2 = option2;
    }

    public String getOption2() 
    {
        return option2;
    }
    public void setOption3(String option3) 
    {
        this.option3 = option3;
    }

    public String getOption3() 
    {
        return option3;
    }
    public void setOption4(String option4) 
    {
        this.option4 = option4;
    }

    public String getOption4() 
    {
        return option4;
    }
    public void setOption5(String option5) 
    {
        this.option5 = option5;
    }

    public String getOption5() 
    {
        return option5;
    }
    public void setOption6(String option6) 
    {
        this.option6 = option6;
    }

    public String getOption6() 
    {
        return option6;
    }
    public void setOption7(String option7) 
    {
        this.option7 = option7;
    }

    public String getOption7() 
    {
        return option7;
    }
    public void setOption8(String option8) 
    {
        this.option8 = option8;
    }

    public String getOption8() 
    {
        return option8;
    }
    public void setOption9(String option9) 
    {
        this.option9 = option9;
    }

    public String getOption9() 
    {
        return option9;
    }
    public void setOption10(String option10) 
    {
        this.option10 = option10;
    }

    public String getOption10() 
    {
        return option10;
    }
    public void setAnswer1(String answer1) 
    {
        this.answer1 = answer1;
    }

    public String getAnswer1() 
    {
        return answer1;
    }
    public void setAnswer2(String answer2) 
    {
        this.answer2 = answer2;
    }

    public String getAnswer2() 
    {
        return answer2;
    }
    public void setAnswer3(String answer3) 
    {
        this.answer3 = answer3;
    }

    public String getAnswer3() 
    {
        return answer3;
    }
    public void setAnswer4(String answer4) 
    {
        this.answer4 = answer4;
    }

    public String getAnswer4() 
    {
        return answer4;
    }
    public void setAnswer5(String answer5) 
    {
        this.answer5 = answer5;
    }

    public String getAnswer5() 
    {
        return answer5;
    }
    public void setAnswer6(String answer6) 
    {
        this.answer6 = answer6;
    }

    public String getAnswer6() 
    {
        return answer6;
    }
    public void setAnswer7(String answer7) 
    {
        this.answer7 = answer7;
    }

    public String getAnswer7() 
    {
        return answer7;
    }
    public void setAnswer8(String answer8) 
    {
        this.answer8 = answer8;
    }

    public String getAnswer8() 
    {
        return answer8;
    }
    public void setAnswer9(String answer9) 
    {
        this.answer9 = answer9;
    }

    public String getAnswer9() 
    {
        return answer9;
    }
    public void setAnswer10(String answer10) 
    {
        this.answer10 = answer10;
    }

    public String getAnswer10() 
    {
        return answer10;
    }
    public void setUpload1(String upload1) 
    {
        this.upload1 = upload1;
    }

    public String getUpload1() 
    {
        return upload1;
    }
    public void setUpload2(String upload2) 
    {
        this.upload2 = upload2;
    }

    public String getUpload2() 
    {
        return upload2;
    }
    public void setUpload3(String upload3) 
    {
        this.upload3 = upload3;
    }

    public String getUpload3() 
    {
        return upload3;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("content", getContent())
            .append("contentType", getContentType())
            .append("cId", getcId())
            .append("kId", getkId())
            .append("score1", getScore1())
            .append("score2", getScore2())
            .append("score3", getScore3())
            .append("score4", getScore4())
            .append("score5", getScore5())
            .append("score6", getScore6())
            .append("score7", getScore7())
            .append("score8", getScore8())
            .append("score9", getScore9())
            .append("score10", getScore10())
            .append("option1", getOption1())
            .append("option2", getOption2())
            .append("option3", getOption3())
            .append("option4", getOption4())
            .append("option5", getOption5())
            .append("option6", getOption6())
            .append("option7", getOption7())
            .append("option8", getOption8())
            .append("option9", getOption9())
            .append("option10", getOption10())
            .append("answer1", getAnswer1())
            .append("answer2", getAnswer2())
            .append("answer3", getAnswer3())
            .append("answer4", getAnswer4())
            .append("answer5", getAnswer5())
            .append("answer6", getAnswer6())
            .append("answer7", getAnswer7())
            .append("answer8", getAnswer8())
            .append("answer9", getAnswer9())
            .append("answer10", getAnswer10())
            .append("upload1", getUpload1())
            .append("upload2", getUpload2())
            .append("upload3", getUpload3())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .toString();
    }
}
